/**
 * @Title: JavaInfo.java
 * @Package: com.itic.appbase.applications.monitor.vo
 * @author: idong
 * @date: May 25, 2015 1:23:37 PM
 * @version: V1.0
 */

package com.itic.appbase.applications.monitor.vo;

/**
 * <p>
 * Company: itic
 * </p>
 * 
 * @author: idong
 * @date: May 25, 2015 1:23:37 PM
 * @version: V1.0
 */
public class JavaEnvInfo {
    // java
    private String version;
    private String rmVersion;
    private String rmName;
    private String vmVersion;
    private String vmName;
    private String javaHome;
    private String javaLib;
    private String jvmParams;
    // file
    private String fileEncoding;
    private String fileSeparator;
    // user
    private String userName;
    private String language;
    private String userHome;
    private String contry;

    /**
     * @Title: JavaEnvInfo
     * @param
     * @throws
     */

    public JavaEnvInfo() {
        super();
    }

    /**
     * @Title: JavaEnvInfo
     */

    public JavaEnvInfo(String def) {
        super();
        this.version = def;
        this.rmVersion = def;
        this.rmName = def;
        this.vmVersion = def;
        this.vmName = def;
        this.javaHome = def;
        this.javaLib = def;
        this.jvmParams = def;
        this.fileEncoding = def;
        this.fileSeparator = def;
        this.userName = def;
        this.language = def;
        this.userHome = def;
        this.contry = def;
    }

    /**
     * @return the version
     */
    public String getVersion() {
        return version;
    }

    /**
     * @param version
     *            the version to set
     */
    public void setVersion(String version) {
        this.version = version;
    }

    /**
     * @return the rmVersion
     */
    public String getRmVersion() {
        return rmVersion;
    }

    /**
     * @param rmVersion
     *            the rmVersion to set
     */
    public void setRmVersion(String rmVersion) {
        this.rmVersion = rmVersion;
    }

    /**
     * @return the rmName
     */
    public String getRmName() {
        return rmName;
    }

    /**
     * @param rmName
     *            the rmName to set
     */
    public void setRmName(String rmName) {
        this.rmName = rmName;
    }

    /**
     * @return the vmVersion
     */
    public String getVmVersion() {
        return vmVersion;
    }

    /**
     * @param vmVersion
     *            the vmVersion to set
     */
    public void setVmVersion(String vmVersion) {
        this.vmVersion = vmVersion;
    }

    /**
     * @return the vmName
     */
    public String getVmName() {
        return vmName;
    }

    /**
     * @param vmName
     *            the vmName to set
     */
    public void setVmName(String vmName) {
        this.vmName = vmName;
    }

    /**
     * @return the javaHome
     */
    public String getJavaHome() {
        return javaHome;
    }

    /**
     * @param javaHome
     *            the javaHome to set
     */
    public void setJavaHome(String javaHome) {
        this.javaHome = javaHome;
    }

    /**
     * @return the javaLib
     */
    public String getJavaLib() {
        return javaLib;
    }

    /**
     * @param javaLib
     *            the javaLib to set
     */
    public void setJavaLib(String javaLib) {
        this.javaLib = javaLib;
    }

    /**
     * @return the jvmParams
     */
    public String getJvmParams() {
        return jvmParams;
    }

    /**
     * @param jvmParams
     *            the jvmParams to set
     */
    public void setJvmParams(String jvmParams) {
        this.jvmParams = jvmParams;
    }

    /**
     * @return the fileEncoding
     */
    public String getFileEncoding() {
        return fileEncoding;
    }

    /**
     * @param fileEncoding
     *            the fileEncoding to set
     */
    public void setFileEncoding(String fileEncoding) {
        this.fileEncoding = fileEncoding;
    }

    /**
     * @return the fileSeparator
     */
    public String getFileSeparator() {
        return fileSeparator;
    }

    /**
     * @param fileSeparator
     *            the fileSeparator to set
     */
    public void setFileSeparator(String fileSeparator) {
        this.fileSeparator = fileSeparator;
    }

    /**
     * @return the userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * @param userName
     *            the userName to set
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * @return the language
     */
    public String getLanguage() {
        return language;
    }

    /**
     * @param language
     *            the language to set
     */
    public void setLanguage(String language) {
        this.language = language;
    }

    /**
     * @return the userHome
     */
    public String getUserHome() {
        return userHome;
    }

    /**
     * @param userHome
     *            the userHome to set
     */
    public void setUserHome(String userHome) {
        this.userHome = userHome;
    }

    /**
     * @return the contry
     */
    public String getContry() {
        return contry;
    }

    /**
     * @param contry
     *            the contry to set
     */
    public void setContry(String contry) {
        this.contry = contry;
    }

    /*
     * (non-Javadoc)
     * 
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "JavaEnvInfo [version=" + version + ", rmVersion=" + rmVersion + ", rmName=" + rmName + ", vmVersion="
                + vmVersion + ", vmName=" + vmName + ", javaHome=" + javaHome + ", javaLib=" + javaLib + ", jvmParams="
                + jvmParams + ", fileEncoding=" + fileEncoding + ", fileSparator=" + fileSeparator + ", userName="
                + userName + ", language=" + language + ", userHome=" + userHome + ", contry=" + contry + "]";
    }

}
